import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /collectionCycle/getDifference/{contractId}
 */
export function getCollectionCycleGetDifferenceByContractId(params: GetCollectionCycleGetDifferenceByContractIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/collectionCycle/getDifference/${params.contractId}`, config);
}

export interface GetCollectionCycleGetDifferenceByContractIdParams {
    contractId: number;
}
